home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
pascal
/
tegl6b.zip
/
INTROPAK.EXE
/
lha
/
ROTSTACK.PAS
< prev
next >
Wrap
Pascal/Delphi Source File
|
1991-04-05
|
764b
|
40 lines
{-- Program to illustrate moving a one frame onto the top of another }
{-- frame. }
Uses
TEGLIntr,
TEGLUnit,
TEGLMain;
VAR fs : ImageStkPtr;
BEGIN
EasyTEGL;
EasyOut;
{-- create the first frame }
PushImage(1,1,100,100);
ShadowBox(1,1,100,100);
FS := StackPtr; {-- stackptr always has the most recent frame }
{-- then create the second frame }
PushImage(50,50,150,150);
ShadowBox(50,50,150,150);
{-- since we haven't gone to the supervisor yet we must }
{-- specifically display the mouse. }
ShowMouse;
{-- wait for a mouse click }
WHILE Mouse_Buttons = 0 DO;
{-- then move them around. }
RotateStackImage(fs,StackPtr);
TEGLSupervisor;
END.